# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Dumitru Ursu <dima@ceata.org>

pkgname=opencolorio
pkgver=1.0.8
pkgrel=1
pkgdesc="A color management framework for visual effects and animation"
arch=('i686' 'x86_64')
url="http://opencolorio.org"
license=('BSD')
depends=('python')
makedepends=('cmake')
source=(http://github.com/imageworks/OpenColorIO/tarball/v$pkgver)
sha1sums=('9b9bac9ed85c84f53775686eb72f3d612b148fef')

build() 
{
  mv imageworks-OpenColorIO-* $pkgname-$pkgver
  cd $pkgname-$pkgver
   
  cmake -DCMAKE_INSTALL_PREFIX=/usr .
  make 
}

package() 
{
  cd "$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install 

  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}

# vim:set ts=2 sw=2 et:
